package com.bj58.mis.apm.server.kylinreceive.service;

import com.bj58.mis.apm.server.kylinreceive.model.KylinCube;
import com.bj58.mis.apm.server.kylinreceive.model.KylinLog;
import com.bj58.mis.apm.server.kylinreceive.model.KylinSegment;

import java.util.List;
import java.util.Map;

public interface WarnService {
    /**
     * 处理构建时间
     */
    void checkBuild(List<Map<String,Object>> jobs);

    /**
     * 处理膨胀倍数
     * @param list
     */
    void checkSwell(List<KylinSegment> list, KylinCube kylinCube);

    /**
     * 处理慢查询
     * @param logList
     */
    void checkQuery(List<KylinLog> logList);

    /**
     * 处理未使用
     */
    void checkUsed();

}
